﻿@model eShop.Web.Models.SafeVerifyModel
@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>账户安全-@{@WorkContext.ShopConfig.SiteTitle}</title>
    @Html.Raw(WorkContext.ShopConfig.SEOKeyword)
    <link href="@{@WorkContext.CSSCDN}/themes/default/css/base.css" rel="stylesheet" type="text/css" />
    <link href="@{@WorkContext.CSSCDN}/themes/default/css/ucenter.css" rel="stylesheet" type="text/css" />
    <script src="@{@WorkContext.ScriptCDN}/scripts/jquery.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/scripts/common.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/scripts/ucenter.safe.js" type="text/javascript"></script>
    <script type="text/javascript">
        uid = @WorkContext.Uid;
        isGuestSC = @WorkContext.ShopConfig.IsGuestSC;
        scSubmitType = @WorkContext.ShopConfig.SCSubmitType;
    </script>
</head>

<body>
@Html.Partial("_header")

<div class="bigBox" id="member">
<div class="box">
@Html.Partial("_menu")
<div id="memberR">
<h2 id="memberRT">验证身份</h2>

<div class="step">
<ul>
    <li class="hot"><s>1</s>验证身份</li>
    <li><s>2</s>修改信息</li>
    <li><s>3</s>完成</li>
    <div class="clear"></div>
</ul>
</div>

<div class="safeYZ">

        @if (Model.Mode == "password")
        {
          <form name="verifyPasswordForm" action="">
            <input type="hidden" name="act" value="@Model.Action"/>
            <table width="600" border="0" cellpadding="0" cellspacing="0" class="memberTable">
              <tr>
                <th height="50" align="right">登录密码：<br /></th>
                <td><input type="password" name="password" class="text left" maxlength="15" style="width:180px;" /></td>
              </tr>
              <tr>
                <th height="50" align="right">验证码：</th>
                <td><input type="text" name="verifyCode" value="" class="text left" maxlength="15" style="width:180px;" /><img onclick="this.src='/tool/verifyimage?time=' + new Date()" src="/tool/verifyimage" alt="验证码" style="cursor:pointer;width:100px; margin-left:10px;height:32px; float:left;"></td>
              </tr>
              <tr>
                <th align="right">&nbsp;</th>
                <td><a href="javascript:verifyPassword()" class="greenBT" style="font-size:14px; padding:3px 20px;">提交</a></td>
              </tr>
            </table>
         </form>
        }
        else if (Model.Mode == "mobile")
        {
            <form name="verifyMobileForm" action="">
                <input type="hidden" name="act" value="@Model.Action"/>
                <table width="600" border="0" cellpadding="0" cellspacing="0" class="memberTable">
                  <tr>
                    <th width="130" height="50" align="right">已验证手机：</th>
                    <td><strong style="font-size:16px; padding-right:10px;">@Html.Raw(CommonHelper.HideMobile(WorkContext.UserMobile))</strong></td>
                  </tr>
                  <tr>
                    <th height="50" align="right">请填写手机校验码：<br /></th>
                    <td><input type="text" name="moibleCode" value="" class="text left" maxlength="15" style="width:180px;" /><a href="javascript:sendVerifyMobile()" class="grayBT left" style="height:30px; line-height:30px; margin-left:10px; padding:0 15px;">获取短信校验码</a></td>
                  </tr>
                   @*
                  <tr>
                  <td>&nbsp;</td>
                  <td>校验码已发出，请注意查收短信，如果没有收到，你可以在56秒要求系统重新发送</td>
                  </tr>
                    *@
                  <tr>
                    <th height="50" align="right">验证码：</th>
                    <td><input type="text" name="verifyCode" value="" class="text left" maxlength="15" style="width:180px;" /><img onclick="this.src='/tool/verifyimage?time=' + new Date()" src="/tool/verifyimage" alt="验证码" style="cursor:pointer;width:100px; margin-left:10px;height:32px; float:left;">@*<a href="#" style=" float:left;line-height:32px; margin-left:10px;">看不清？换一张</a>*@</td>
                  </tr>
                  <tr>
                    <th align="right">&nbsp;</th>
                    <td><a href="javascript:verifyMobile()" class="greenBT" style="font-size:14px; padding:3px 20px;">提交</a></td>
                  </tr>
                </table>
            </form>
        }
        else if (Model.Mode == "email")
        {
           <form name="sendVerifyEmailForm" action="">
                <input type="hidden" name="act" value="@Model.Action"/>
                <table width="600" border="0" cellpadding="0" cellspacing="0" class="memberTable">
                  <tr>
                    <th width="130" height="50" align="right">已验证邮箱：</th>
                    <td><strong style="font-size:16px; padding-right:10px;">@Html.Raw(CommonHelper.HideEmail(WorkContext.UserEmail))</strong></td>
                  </tr>
                  <tr>
                    <th height="50" align="right">验证码：</th>
                    <td><input type="text" name="verifyCode" value="" class="text left" maxlength="15" style="width:180px;" /><img onclick="this.src='/tool/verifyimage?time=' + new Date()" src="/tool/verifyimage" alt="验证码" style="cursor:pointer;width:100px; margin-left:10px;height:32px; float:left;">@*<a href="#" style=" float:left;line-height:32px; margin-left:10px;">看不清？换一张</a>*@</td>
                  </tr>
                  <tr>
                    <th align="right">&nbsp;</th>
                    <td><a href="javascript:sendVerifyEmail()" class="greenBT" style="font-size:14px; padding:3px 20px;">提交</a></td>
                  </tr>
                </table>
            </form>
        }

</div>

</div>

<div class="clear"></div>
</div>
<div class="clear"></div>
</div>


@Html.Partial("_footer")
</body>
</html>